package com.tt.aile.item.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

/**
 * @author 86176 shkstrat
 * @date 2020/11/27 - 9:45
 */
@Controller
@RequestMapping("tt")
public class TestController {

    @ResponseBody
    @GetMapping("test/{id}")
    public String test(@PathVariable("id") String id){
        System.out.println("kk-----------------");
        return "sada";
    }

    @GetMapping("test2")
    public String test2(){
        System.out.println("kk-----------------");
        return "adada";
    }

}
